package com.sdp.flow.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;
import java.sql.Blob;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author qcy
 * @since 2021-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("act_hi_comment")
public class ActHiComment extends Model<ActHiComment> {

    private static final long serialVersionUID = 1L;

    @TableId("ID_")
    private String id;

    @TableField("TYPE_")
    private String type;

    @TableField("TIME_")
    private Date time;

    @TableField("USER_ID_")
    private String userId;

    @TableField("TASK_ID_")
    private String taskId;

    @TableField("PROC_INST_ID_")
    private String procInstId;

    @TableField("ACTION_")
    private String action;

    @TableField("MESSAGE_")
    private String message;

    @TableField("FULL_MSG_")
    private Blob fullMsg;
    
    @TableField("USER_NAME_")
    private String userName;
    
    @TableField("USER_SIGN_")
    private String userSign;
    
    @TableField("USER_AVATAR_")
    private String userAvatar;
    
    @TableField("IS_PASS_")
    private String isPass;
    


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
